<?php
namespace app\common\model;
use think\Model;
class CardUserBonus extends model
{   
    //自动完成
    protected $auto = [];      //  写入
    protected $insert = [       //新增
    'create_time'
    ];     
    protected $update = [];     //保存

    protected function setCreateTimeAttr()
    {
        return time();
    }

    
}
